\hypertarget{class_personnage}{
\section{Personnage Class Reference}
\label{class_personnage}\index{Personnage@{Personnage}}
}


Inherited by \hyperlink{class_guerrier}{Guerrier}, and \hyperlink{class_mage}{Mage}.



Collaboration diagram for Personnage:\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_personnage_a8d77a490424249c7405e4b7046ba95cf}{
{\bfseries Personnage} (int po, int force, int dexterite, int constitution, int intelligence, int sagesse, int charisme, std::string nom, int vie, std::string nomArme, int patk, int matk, std::string nomArmure, int pdef, int mdef)}
\label{class_personnage_a8d77a490424249c7405e4b7046ba95cf}

\item 
\hypertarget{class_personnage_aed1e58519a1e35e4cb70dfcbec6afb61}{
{\bfseries Personnage} (std::string nomPerso)}
\label{class_personnage_aed1e58519a1e35e4cb70dfcbec6afb61}

\item 
\hypertarget{class_personnage_a6e29227e33d1699c9511944997aa8bd3}{
void {\bfseries recevoirDegatsPhysiques} (int degats)}
\label{class_personnage_a6e29227e33d1699c9511944997aa8bd3}

\item 
\hypertarget{class_personnage_a27df937fc738b62ff1a2f6105afd0153}{
void {\bfseries coupDePoing} (\hyperlink{class_personnage}{Personnage} \&cible)}
\label{class_personnage_a27df937fc738b62ff1a2f6105afd0153}

\item 
\hypertarget{class_personnage_aa96c14bd28c6d1d8e5ea33230ade4a7a}{
int {\bfseries etourdi} (\hyperlink{class_personnage}{Personnage} \&cible, int puissance)}
\label{class_personnage_aa96c14bd28c6d1d8e5ea33230ade4a7a}

\item 
\hypertarget{class_personnage_a9ec34e60ea4df84b3f8213e174a21603}{
bool {\bfseries estVivant} ()}
\label{class_personnage_a9ec34e60ea4df84b3f8213e174a21603}

\item 
\hypertarget{class_personnage_a861d0197ff4a8612608a30474e25ed74}{
void {\bfseries afficherEtat} ()}
\label{class_personnage_a861d0197ff4a8612608a30474e25ed74}

\item 
\hypertarget{class_personnage_a3fd03bae82c59f37a9e4010bc7fb4327}{
void {\bfseries afficherVie} ()}
\label{class_personnage_a3fd03bae82c59f37a9e4010bc7fb4327}

\item 
\hypertarget{class_personnage_a3b07788fd4b354f7b3a851ba96945226}{
void {\bfseries afficherDegats} (std::string \&nomReceveur, int nbDegats)}
\label{class_personnage_a3b07788fd4b354f7b3a851ba96945226}

\item 
\hypertarget{class_personnage_af2b42345555c06966c73fae517e01b2f}{
void {\bfseries afficherAction} (std::string \&nomAttaquant, std::string \&nomReceveur, std::string nomAction)}
\label{class_personnage_af2b42345555c06966c73fae517e01b2f}

\item 
\hypertarget{class_personnage_ab3747da2ed7044c6bd2b62fd439d6ad0}{
void {\bfseries afficherStat} ()}
\label{class_personnage_ab3747da2ed7044c6bd2b62fd439d6ad0}

\item 
\hypertarget{class_personnage_a44cd92083c27cd82e9d8d352785a96e5}{
void {\bfseries listeSkill} ()}
\label{class_personnage_a44cd92083c27cd82e9d8d352785a96e5}

\item 
\hypertarget{class_personnage_a245406f564690172e6f3dfcb701f3818}{
bool {\bfseries retirerPo} (int nb)}
\label{class_personnage_a245406f564690172e6f3dfcb701f3818}

\item 
\hypertarget{class_personnage_a2757b9dea63b4559e7e9bce5dbfbef89}{
void {\bfseries gainXp} (\hyperlink{class_personnage}{Personnage} \&cible)}
\label{class_personnage_a2757b9dea63b4559e7e9bce5dbfbef89}

\item 
\hypertarget{class_personnage_a54e89e86317b1aa1ee6116235dd66c36}{
void {\bfseries gainPo} (\hyperlink{class_personnage}{Personnage} \&cible)}
\label{class_personnage_a54e89e86317b1aa1ee6116235dd66c36}

\item 
\hypertarget{class_personnage_a845a93c8f21bea15a7e2ed4f28445c52}{
void {\bfseries changerArme} (std::string nom, int pDegats, int mDegats)}
\label{class_personnage_a845a93c8f21bea15a7e2ed4f28445c52}

\item 
\hypertarget{class_personnage_a74eef4b72c9e216e403d2b8f3ab16b9c}{
void {\bfseries changerArmure} (std::string nom, int pDef, int mDef)}
\label{class_personnage_a74eef4b72c9e216e403d2b8f3ab16b9c}

\item 
\hypertarget{class_personnage_add0929b6dc1e25e11d85bd2da669f065}{
int {\bfseries getLvl} () const }
\label{class_personnage_add0929b6dc1e25e11d85bd2da669f065}

\item 
\hypertarget{class_personnage_ae975aae99d183249c4e5f56b7a81ac5d}{
int {\bfseries getPo} () const }
\label{class_personnage_ae975aae99d183249c4e5f56b7a81ac5d}

\item 
\hypertarget{class_personnage_ab0bd51e65afc984a6c39ee36fd4f4a32}{
int {\bfseries getForce} () const }
\label{class_personnage_ab0bd51e65afc984a6c39ee36fd4f4a32}

\item 
\hypertarget{class_personnage_a53f34d1cec379a23f473c92abab944f7}{
int {\bfseries getDexterite} () const }
\label{class_personnage_a53f34d1cec379a23f473c92abab944f7}

\item 
\hypertarget{class_personnage_a52fe6cf51ed8e765feac2d6df5ee1277}{
int {\bfseries getConstitution} () const }
\label{class_personnage_a52fe6cf51ed8e765feac2d6df5ee1277}

\item 
\hypertarget{class_personnage_a0566e3d4c874a15d7934e85b19c8b42b}{
int {\bfseries getIntelligence} () const }
\label{class_personnage_a0566e3d4c874a15d7934e85b19c8b42b}

\item 
\hypertarget{class_personnage_a005ffb0ccf94bef5625a7683c8939cda}{
int {\bfseries getSagesse} () const }
\label{class_personnage_a005ffb0ccf94bef5625a7683c8939cda}

\item 
\hypertarget{class_personnage_a72d501e2871328aecf39f377529ece8b}{
int {\bfseries getCharisme} () const }
\label{class_personnage_a72d501e2871328aecf39f377529ece8b}

\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_personnage_abe98c6660a4ad1f705e831c42a906b87}{
static int {\bfseries lvl2xp} (int lvl)}
\label{class_personnage_abe98c6660a4ad1f705e831c42a906b87}

\item 
\hypertarget{class_personnage_a1dd1eecdee61fca50d571d66b5b5d8f8}{
static int {\bfseries xp2lvl} (int xp)}
\label{class_personnage_a1dd1eecdee61fca50d571d66b5b5d8f8}

\item 
\hypertarget{class_personnage_a8b5974f3baac4bfac7ae8c3065ac5757}{
static std::string {\bfseries nomSkill} (int idSkill)}
\label{class_personnage_a8b5974f3baac4bfac7ae8c3065ac5757}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_personnage_ab06fc45a8364d2f89b0956ec1b6e8113}{
int {\bfseries m\_\-vie}}
\label{class_personnage_ab06fc45a8364d2f89b0956ec1b6e8113}

\item 
\hypertarget{class_personnage_a2a69442ec9b77aaa30ae895c0e6bfbf7}{
int {\bfseries m\_\-force}}
\label{class_personnage_a2a69442ec9b77aaa30ae895c0e6bfbf7}

\item 
\hypertarget{class_personnage_a578d7c0a8bfb522c403cadc84f130547}{
int {\bfseries m\_\-dexterite}}
\label{class_personnage_a578d7c0a8bfb522c403cadc84f130547}

\item 
\hypertarget{class_personnage_acb5ed28b50774d839ddc7a0738dbdf6d}{
int {\bfseries m\_\-constitution}}
\label{class_personnage_acb5ed28b50774d839ddc7a0738dbdf6d}

\item 
\hypertarget{class_personnage_aa80e7e6f7fa16ba8e445c2e3c2703553}{
int {\bfseries m\_\-intelligence}}
\label{class_personnage_aa80e7e6f7fa16ba8e445c2e3c2703553}

\item 
\hypertarget{class_personnage_a1e3920a9a62a0a957cd0634105c0b007}{
int {\bfseries m\_\-sagesse}}
\label{class_personnage_a1e3920a9a62a0a957cd0634105c0b007}

\item 
\hypertarget{class_personnage_a677960a9327b26f70bc78c357b3e4f15}{
int {\bfseries m\_\-charisme}}
\label{class_personnage_a677960a9327b26f70bc78c357b3e4f15}

\item 
\hypertarget{class_personnage_ae53a2aa33fc2f768aa03a8f5b0d75552}{
int {\bfseries m\_\-xp}}
\label{class_personnage_ae53a2aa33fc2f768aa03a8f5b0d75552}

\item 
\hypertarget{class_personnage_afcf9b859a29b1855f4f378c689733c6d}{
int {\bfseries m\_\-lvl}}
\label{class_personnage_afcf9b859a29b1855f4f378c689733c6d}

\item 
\hypertarget{class_personnage_ac6920250f0dd0b3dd16fe2ac6cec5971}{
int {\bfseries m\_\-po}}
\label{class_personnage_ac6920250f0dd0b3dd16fe2ac6cec5971}

\item 
\hypertarget{class_personnage_af77fccc17c7b6b1b91565f9263c6e49d}{
std::string {\bfseries m\_\-nom}}
\label{class_personnage_af77fccc17c7b6b1b91565f9263c6e49d}

\item 
\hypertarget{class_personnage_aaf0f08ae5ad0544875b193ad93c50b9a}{
\hyperlink{class_arme}{Arme} {\bfseries m\_\-arme}}
\label{class_personnage_aaf0f08ae5ad0544875b193ad93c50b9a}

\item 
\hypertarget{class_personnage_a8a11a2d67ea96e623600887fd9abb4c2}{
\hyperlink{class_armure}{Armure} {\bfseries m\_\-armure}}
\label{class_personnage_a8a11a2d67ea96e623600887fd9abb4c2}

\end{DoxyCompactItemize}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
D:/Mes Documents/Slogdonia/src/game/personnage.h\item 
D:/Mes Documents/Slogdonia/src/game/personnage.cpp\end{DoxyCompactItemize}
